/**
 * Created by Panda on 16/01/2017
 */
(function () {
    'use strict';

    angular
        .module('com.akxx.aqzyk')
        .factory('_Train',_Train);


    /** @ngInject */
    function _Train(Resource) {
        return {
            TrainList:Resource("cocservice/query/tm_trn_report"),
            NewTrain:Resource("cocservice/create/tm_trn_report"),
            EditTrain:Resource("cocservice/update/tm_trn_report"),
            VisitTrain:Resource("cocservice/get/tm_trn_report"),
            DelTrain:Resource("cocservice/delete/tm_trn_report/"),
        };
    }

})();
